import asyncio
from fastmcp import Client

async def main():
    client = Client("src/pipeline_mcp/server.py")

    async with client:
        result = await client.call_tool("analyze", {"pipeline_id": "test-pipeline-id"})
        print(result)

if __name__ == "__main__":
    asyncio.run(main())